.class public final Lc/c;
.super Lkairo/android/a/b;


# static fields
.field private static r:Lc/c;


# instance fields
.field private A:I

.field private B:I

.field private C:I

.field public a:I

.field private s:J

.field private t:J

.field private u:Z

.field private v:I

.field private w:I

.field private x:I

.field private y:I

.field private z:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lc/c;->r:Lc/c;

    return-void
.end method

.method protected constructor <init>()V
    .locals 3

    const/4 v2, -0x1

    invoke-direct {p0}, Lkairo/android/a/b;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lc/c;->s:J

    const/16 v0, 0x15

    iput v0, p0, Lc/c;->v:I

    const/4 v0, 0x1

    iput v0, p0, Lc/c;->w:I

    iput v2, p0, Lc/c;->A:I

    iput v2, p0, Lc/c;->B:I

    return-void
.end method

.method public static a()Lc/c;
    .locals 1

    sget-object v0, Lc/c;->r:Lc/c;

    if-nez v0, :cond_0

    new-instance v0, Lc/c;

    invoke-direct {v0}, Lc/c;-><init>()V

    sput-object v0, Lc/c;->r:Lc/c;

    :cond_0
    sget-object v0, Lc/c;->r:Lc/c;

    return-object v0
.end method


# virtual methods
.method public final b()V
    .locals 0

    invoke-super {p0}, Lkairo/android/a/b;->b()V

    return-void
.end method

.method protected final c()V
    .locals 5

    const/4 v4, 0x5

    invoke-super {p0}, Lkairo/android/a/b;->c()V

    invoke-virtual {p0}, Lc/c;->k()Lkairo/android/a/a;

    move-result-object v1

    invoke-virtual {v1}, Lkairo/android/a/a;->r()I

    move-result v0

    if-ne v0, v4, :cond_2

    move-object v0, v1

    check-cast v0, Lc/h;

    invoke-virtual {v1}, Lkairo/android/a/a;->r()I

    move-result v2

    iget v3, p0, Lc/c;->A:I

    if-ne v2, v3, :cond_0

    iget v2, v0, Lc/h;->a:I

    if-nez v2, :cond_0

    iget v2, v0, Lc/h;->a:I

    iget v3, p0, Lc/c;->B:I

    if-ne v2, v3, :cond_0

    iget v2, v0, Lc/h;->k:I

    iget v3, p0, Lc/c;->C:I

    if-eq v2, v3, :cond_0

    iput v4, v0, Lc/h;->I:I

    :cond_0
    iget v2, p0, Lc/c;->A:I

    const/4 v3, 0x2

    if-ne v2, v3, :cond_1

    iget v2, v0, Lc/h;->a:I

    if-nez v2, :cond_1

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iput-wide v2, v0, Lc/h;->P:J

    :cond_1
    iget v2, v0, Lc/h;->a:I

    iput v2, p0, Lc/c;->B:I

    iget v0, v0, Lc/h;->k:I

    iput v0, p0, Lc/c;->C:I

    :cond_2
    invoke-virtual {v1}, Lkairo/android/a/a;->r()I

    move-result v0

    iput v0, p0, Lc/c;->A:I

    return-void
.end method

.method protected final d()V
    .locals 10

    const/4 v6, 0x4

    const/4 v5, 0x3

    const/4 v9, 0x2

    const/4 v8, 0x1

    const/4 v7, 0x0

    invoke-static {}, Le/a;->a()Le/a;

    move-result-object v1

    iget v2, p0, Lc/c;->v:I

    invoke-virtual {v1}, Le/a;->j()V

    invoke-virtual {p0}, Lc/c;->k()Lkairo/android/a/a;

    move-result-object v3

    const/16 v0, 0x14

    iget-object v4, v1, Le/a;->d:Lc/d;

    if-eq v3, v4, :cond_0

    iget-object v4, v1, Le/a;->e:Lc/a;

    if-ne v3, v4, :cond_2

    :cond_0
    iget-object v4, v1, Le/a;->af:Lkairo/android/i/k;

    iget-object v4, v4, Lkairo/android/i/k;->b:[I

    aget v4, v4, v6

    if-ne v4, v8, :cond_1

    iget-object v4, v1, Le/a;->af:Lkairo/android/i/k;

    iget-object v4, v4, Lkairo/android/i/k;->b:[I

    aget v4, v4, v5

    if-nez v4, :cond_1

    const/16 v0, 0x9

    :cond_1
    iget-object v4, v1, Le/a;->af:Lkairo/android/i/k;

    iget-object v4, v4, Lkairo/android/i/k;->b:[I

    aget v4, v4, v6

    if-ne v4, v9, :cond_2

    iget-object v4, v1, Le/a;->af:Lkairo/android/i/k;

    iget-object v4, v4, Lkairo/android/i/k;->b:[I

    aget v4, v4, v5

    if-nez v4, :cond_2

    iget-object v4, v1, Le/a;->e:Lc/a;

    if-ne v3, v4, :cond_2

    iget-object v1, v1, Le/a;->e:Lc/a;

    invoke-virtual {v1}, Lc/a;->f()Z

    move-result v1

    if-eqz v1, :cond_2

    const/16 v0, 0x9

    :cond_2
    iget v1, p0, Lc/c;->v:I

    add-int/lit8 v1, v1, -0x1

    if-eq v0, v1, :cond_3

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lc/c;->v:I

    :cond_3
    const/16 v0, 0x3e8

    div-int v2, v0, v2

    iget-boolean v0, p0, Lc/c;->u:Z

    if-nez v0, :cond_4

    :try_start_0
    invoke-static {}, Lkairo/android/ui/a;->a()Lkairo/android/ui/a;

    move-result-object v0

    invoke-virtual {v0}, Lkairo/android/ui/a;->p()Lkairo/android/h/e;

    move-result-object v0

    :goto_0
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    iget-wide v5, p0, Lc/c;->s:J

    sub-long/2addr v3, v5

    int-to-long v5, v2

    cmp-long v1, v3, v5

    if-gez v1, :cond_4

    const-wide/16 v3, 0x0

    invoke-static {v3, v4}, Ljava/lang/Thread;->sleep(J)V

    invoke-virtual {v0}, Lkairo/android/h/e;->e()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    :cond_4
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lc/c;->s:J

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v3, p0, Lc/c;->s:J

    sub-long/2addr v0, v3

    const-wide/16 v3, 0x0

    cmp-long v3, v0, v3

    if-gez v3, :cond_5

    int-to-long v0, v2

    :cond_5
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iget-wide v4, p0, Lc/c;->t:J

    sub-long/2addr v2, v4

    const-wide/16 v4, 0x3e8

    cmp-long v2, v2, v4

    if-ltz v2, :cond_8

    iget v2, p0, Lc/c;->x:I

    iput v2, p0, Lc/c;->w:I

    iget v2, p0, Lc/c;->w:I

    if-gtz v2, :cond_6

    iput v8, p0, Lc/c;->w:I

    :cond_6
    iput v7, p0, Lc/c;->x:I

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iput-wide v2, p0, Lc/c;->t:J

    :goto_1
    iget v2, p0, Lc/c;->z:I

    if-ne v2, v8, :cond_9

    invoke-static {}, Lkairo/android/ui/a;->m()V

    iput v9, p0, Lc/c;->z:I

    :cond_7
    :goto_2
    iget v0, p0, Lc/c;->a:I

    add-int/lit8 v0, v0, 0x1

    const v1, 0x7fffffff

    rem-int/2addr v0, v1

    iput v0, p0, Lc/c;->a:I

    invoke-super {p0}, Lkairo/android/a/b;->d()V

    return-void

    :cond_8
    iget v2, p0, Lc/c;->x:I

    add-int/lit8 v2, v2, 0x1

    iput v2, p0, Lc/c;->x:I

    goto :goto_1

    :cond_9
    if-ne v2, v9, :cond_7

    iget v2, p0, Lc/c;->y:I

    int-to-long v2, v2

    sub-long v0, v2, v0

    long-to-int v0, v0

    iput v0, p0, Lc/c;->y:I

    iget v0, p0, Lc/c;->y:I

    if-gtz v0, :cond_7

    invoke-static {}, Lkairo/android/ui/a;->m()V

    iput v7, p0, Lc/c;->z:I

    iput v7, p0, Lc/c;->y:I

    goto :goto_2
.end method

.method public final e()I
    .locals 1

    iget v0, p0, Lc/c;->w:I

    return v0
.end method

.method public final f()I
    .locals 1

    iget v0, p0, Lc/c;->v:I

    add-int/lit8 v0, v0, -0x1

    return v0
.end method
